import { getAjax, postAjax } from '../assets/js/request.js'

const DOMAIN_NAME = 'http://www.bqady.com';

export const loginApplication = function(params){
  return postAjax(`${DOMAIN_NAME}/api/user/tologin`, params)
}

export const queryRecordList = function(params){  
  return getAjax(`${DOMAIN_NAME}/fetalmovement/grid`, params)
}

export const insertRecordList = function (params) {
  return postAjax(`${DOMAIN_NAME}/fetalmovement/setTime`, params)
}